import React, { Component } from 'react';
import TableChartCard from './components/TableChartCard';
import TabTable from './components/TabTable';

import './BasicTable.scss';
import {getPie} from "../../api/chart";

export default class TableChart extends Component {
  static displayName = 'TableChart';

  constructor(props) {
    super(props)
    this.state = {
      dataSource: [],
      pa: getPie({}),
    }
  }

  render() {
    return (
      <div className="basic-table-page">

        <TableChartCard pa={this.state.pa} />
      </div>
    );
  }
}
